home *** CD-ROM | disk | FTP | other *** search
/ Commodore Free 19 / Commodore_Free_Issue_19_2008_Commodore_Computer_Club.d64 / t.b guide 4.1 < prev    next >
Text File  |  2023-02-26  |  11KB  |  373 lines

  1. u
  2.  
  3. In the Beginning
  4. By Lord Ronin from Q-Link
  5.  
  6. Chapter 4, Section 1
  7.  
  8.  Had some fun with the keys, and
  9. played some with the colours. A good
  10. part of that is from the manual. Just
  11. presented a bit differently <weirdly>
  12. than the manual. Most BASIC books that
  13. I have seen do about the same income
  14. form. Now lets go into some of the
  15. features from the manual.
  16.  
  17.  This first stuff is going to sound &
  18. seem lame. At least to today's readers.
  19. Remember the time that this was written
  20. & for the people at that time. We are
  21. going to start with one of the most
  22. commonly used terms in BASIC, PRINT.
  23. Correct that is the term and for this
  24. moment in time. Consider that is
  25. exactly what it does. As I understand
  26. it is a bit of a hang over from the
  27. early days of BASIC back in the 60s.
  28. Where when you said PRINT. That is what
  29. happened. The stuff printed on paper.
  30.  
  31. May sound weird to you. But there
  32. wasn't really anything that looked like
  33. a monitor in those days. Well what we
  34. today would consider a monitor. My
  35. class in the computer language FORTRAN
  36. in 1974ce, in college. Well it was done
  37. on punch cards that was fed into some
  38. monster of a hopper. Big reels of
  39. magnetic tape spun & a gigantic printer
  40. would print out the result on fan fold
  41. paper. Oh yeah and the room that all
  42. of this was in, well it was as sterile
  43. clean as possible. Being a slob, it
  44. really irked me to be in that room.
  45. Funny thing is that there is more power
  46. in the 64 than in that machine & the 64
  47. is faster. OK it is one hell of a lot
  48. friendlier & fun to use.
  49.  
  50.  What I want you to do now is do a
  51. little screen typing in the start of
  52. programming. Don't freak out. I'm
  53. telling you in advance that this is a
  54. sort of programming. Book doesn't do
  55. that, it sneaks it upon you. Oh right
  56. I forgot to say earlier. Why yes, you
  57. can programme, code, or just plain
  58. write your own programmes for whatever
  59. you want on the C=64. Books and
  60. magazines that came out where full of
  61. these, and it is how many people
  62. learned to programme. Who today are in
  63. computer fields on other platforms.
  64. Good news for you is that I am not at
  65. that or even near any aspect of that
  66. level of programming. I am just a user
  67. and lamer programmer.
  68.  
  69.  OK here is what to do. Type on the
  70. screen as follows.
  71.  
  72. PRINT"SMEG HEAD" Well you can type
  73. anything you want. Just make sure you
  74. have the word PRINT and what you want
  75. in the quotations. Now press RETURN.
  76. Using my example you should see on the
  77. screen.
  78.  
  79. PRINT"SMEG HEAD"SMEG HEAD
  80.  
  81. READY<cursor sitting here>
  82.  
  83.  
  84. If you see the scary words of ?SYNTAX
  85. ERROR. Check to see if you have the
  86. quotes correctly. Also see if there is
  87. anything else on that line. Like other
  88. text or graphics.
  89.  
  90.  Computers deal with math. At least we
  91. don't have to worry about that mess of
  92. binary and other forms of math. But
  93. now you get to turn the C=into a big
  94. calculator. I'll tell out his point,
  95. that I had a LED digital watch that
  96. did most of the same math functions.
  97. But this point will show you the math
  98. part that you can use, straight or in
  99. programming. Type the following.
  100.  
  101. PRINT 15+15 <press return>
  102.  
  103.  You should see a 30 right under the
  104. PR in the word print. At this point
  105. you can try more numbers. Big ones,
  106. little one and several of them at
  107. once, rather than just two. Just press
  108. return at the end of the list of
  109. numbers. As you can guess by now you
  110. can also do subtraction. Same as above
  111. but with the - symbol. Yeah you can do
  112. multiplication. This uses the *
  113. symbol. Division uses the/ symbol.
  114. Examples follow <G>
  115.  
  116. PRINT 15+15+35+16.89+.11
  117.  
  118. PRINT 300-150
  119.  
  120. PRINT 25*4
  121.  
  122. PRINT 10/5
  123.  
  124.  Basic 4 parts of math. But the
  125. crippled handed old man is also lazy.
  126. Meaning that typing PRINT each time is
  127. a bore. Good news, there is a short
  128. cut. Just type ?.
  129.  
  130. ?15+15
  131.  
  132. is the same as
  133.  
  134. PRINT15+15
  135.  
  136.  Now a word on what you have seen.
  137. Most programmers do it the way that I
  138. have placed above. Book shows it as
  139. follows PRINT 15 + 15. Each of those
  140. spaces do take up memory space in the
  141. computer. You can type about 80
  142. characters in a programme line. No
  143. spaces keep it so you can have more
  144. characters in the programming line.
  145. This will make more sense later on.
  146.  
  147.  A thing that you may not ever need in
  148. your entire use with the C=, comes
  149. next. EXPONENTIATION, this is the
  150. ability to raise a number by a power.
  151. Ok more simply stated, you can square
  152. or cube a number. Try this one...
  153. ?22 <two to the second power or two
  154. squared> Press return. Now go ahead
  155. and try other number like ?2734. OK
  156. that is a bit of fun, and I have not
  157. ever really needed it in my work. But
  158. it is a feature of the C=64.
  159.  
  160.  However the next part I have used a
  161. lot. Since I have that useless degree
  162. in electronics. This is Scientific
  163. Notation. On the C= it is read this
  164. way, 1.76E+9. Basically this means
  165. that there is a total of 9 places to
  166. the right of the decimal point. A way
  167. of writing very large numbers in a
  168. small space. 1.76E-9 would be, right
  169. negative numbers. You may or may not
  170. need this for your work. All the math
  171. operations will work with this form.
  172.  
  173.  Manual does go into the idea of
  174. precedence. Or the order in which math
  175. functions? are done in formulas. I?ll
  176. take it that you read this sort of
  177. stuff before, or can access it in some
  178. way. So we can bypass it for now.Here
  179. is something from the book that is
  180. interesting. Combining some of the
  181. things that we have covered. Type in
  182.  
  183. ?"5+5 = ";5+5press return and you
  184. should see...
  185.  
  186.  5+5 = 10
  187.  
  188.  And now lets stop for a bit. Take a
  189. look at where we are now at in the
  190. C=64. Because at this point we are at
  191. the divergence.
  192.  
  193.  Fancy words to mean that we are going
  194. to move in more than one direction in
  195. this series. Because the book goes one
  196. way and you may not want to go that
  197. way. To make myself clearer, the book
  198. goes into the rank beginnings of
  199. programming. Great for those of you
  200. that want to learn some level of Basic
  201. v2 programming. However, not everyone
  202. is interested in learning to
  203. programme. Some people like a little
  204. understanding of programming.
  205.  
  206. Perhaps to appreciate the work done to
  207. create the programme. Others, sure
  208. want to learn everything about
  209. programming and start right off. But
  210. there is a large group even today that
  211. just want to play with the C=64. Using
  212. "canned? programmes for their
  213. interests. For those readers, I am
  214. stopping the bookwork and going into a
  215. bit of drivel about the C=64
  216. programmes. Then I shall return to the
  217. manual little programming items.
  218.  
  219.  What do you want from the C=64? By
  220. that I mean what you are going to do
  221. with it? Oh, balance the cheque book,
  222. keep a journal of important things,
  223. print out a calendar, learn algebra,
  224. teach the little ones shapes and
  225. colours and, well that goes on and on.
  226. Naturally you want to play some sort
  227. of game as well. Funny I have met only
  228. few people that admit they have a
  229. computer to use for different things,
  230. including game play.
  231.  
  232.  Games are one of the most numerous
  233. programmes for the C=64. Factory ,type
  234. in, homebrew and the like. These range
  235. from simple little guess the number
  236. game <we will do that one from the
  237. manual> into 15+ disk side adventures,
  238. with graphics and sound. Now I am not
  239. going to say what are the best games.
  240. My opinion is mine and will most
  241. likely not reflect our interests
  242. exactly. I like Role Playing Games.
  243. Semi-enjoy strategy games, get bored
  244. with card games, and loath text
  245. adventures. Yet I know people that
  246. have the reverse feelings.
  247.  
  248.  What I intend to present here is some
  249. comments about the games for the C=64.
  250. Because from my experience over the
  251. years, people have wrong ideas about
  252. the C=64 games. So lets jump in and
  253. get to it.
  254.  
  255.  Most of the classifications of games
  256. that you enjoy on consoles and
  257. computers. well they were devised,
  258. developed and labelled on the
  259. C=64.Many of them were also ported
  260. over to other platforms. Examples
  261. would be Pool of Radiance and
  262. Wasteland. The latter was made for the
  263. IBM system and is on a CD of games for
  264. it today. There is a yahoo group list
  265. for it that deals with the different
  266. platforms for that game. On the 64 it
  267. is just one double sided disk of play.
  268. Don't think that you will finish it in
  269. a day. Try weeks of playtime. There is
  270. just so much to tryout in that game.
  271. Pool, was ported to the Amiga PC
  272. platform. Heard of but not seen copies
  273. for the IBM system. That is the game
  274. that took me three weeks of 6 hours a
  275. day, 6 days a week to complete.
  276.  
  277.  Sid Meir's Pirates, also just called
  278. Pirates, is another one that comes to
  279. mind. Commodore to a game console to
  280. as I understand not only an newer game
  281. console but a non C= computer
  282. platform. Or at least that is the
  283. impression I gained from a friends
  284. computer game magazine.
  285.  
  286.  Japanese game of Go is out there for
  287. the C=. As are several types of chess
  288. games. One of those even allows for
  289. different boards <I like the 3D
  290. one>and set up placement. Not a big
  291. Chess player, OK, a lamer level chess
  292. player. I think that the part about
  293. setting pieces is like for those chess
  294. books, and moves that are in the
  295. newspapers of my youth.
  296.  
  297.  Card games explode with the C=64.One
  298. of the first things I did from a type
  299. in book was a simple card game. No
  300. graphic, only text. A 21,blackjack
  301. game. All the way into specific
  302. graphics created images on the face
  303. cards. In between are the simple ones
  304. just using the C= graphics off of the
  305. keyboard for the cards. Can't tell you
  306. the games. There are so many, I mean a
  307. couple people used to make a few card
  308. games each month for the disk magazine
  309. loadstar <back issues are available
  310. from loadstar>and this was done for
  311. several years. Besides I am a dum ork
  312. and don't know that many card games by
  313. name and or rules.
  314.  
  315.  Board games, besides the above chess
  316. and go are out there, or even in your
  317. collection. Monopoly, official Parker
  318. Brothers one, and those that are not
  319. exactly official. I like the one that
  320. is London and the money is in BritCit
  321. pounds. Clue is another game. Have to
  322. admit that the game, on the disk, and
  323. I mean the official game. Well it is a
  324. bit different than the board game I
  325. played in the 60s. More rooms and
  326. characters as I remember. Of course
  327. there is an almost infinite list of
  328. these games. Some that are computer
  329. board games. I didn't know they where
  330. board games when I first found them.
  331.  
  332.  Sort of board but not exactly are a
  333. set of the War games. Hard to explain
  334. these to the non player and newbie C=
  335. user. Many are simulations from
  336. Victory and or Avalon hill. Nothing
  337. fancy in the graphics. Mostly a grid
  338. looking thing and you command the
  339. forces. Gotta tell you that I
  340. personally have problems with this
  341. style. When you don't have the dox, or
  342. instruction. A problem that I have on
  343. most of the copies I have found.
  344. Anyway should say that there are
  345. online preservation sites of the
  346. manuals and dox for many of the
  347. C=programmes. Themes for this are just
  348. about any major battle of campaign in
  349. history.
  350.  
  351.  But there is another style of this
  352. war game theme. Perhaps not as
  353. historically accurate. For my tastes
  354. ,a bit more fun. Not to say that they
  355. are any easier. This style may have a
  356. proper name, but I never learned it,
  357. so they are sort of action simulations
  358. for a lack of the proper word. In this
  359. type you are a more integrated part of
  360. the war game. Dam Busters is a great
  361. one for this. Doing an actual WW II
  362. mission from the British. You are
  363. flying a special Bomber. dodging enemy
  364. & yeah there are also different views
  365. that you can select. Right it is all in
  366. graphics. some sound effects as well.
  367. And no it isn't easy. I've never
  368. finished it, well if it was the German
  369. side I won. <BG>
  370.  
  371.          CONTINUED IN SECTION 2
  372.  
  373.